package cn.zglbk.generator.model;

import java.util.List;

/**
 * @author zglbk.cn
 * @email 1030681978@qq.com
 * @date 2020/10/21 15:54
 */
public class TableEntity {
    //表的名称
    private String tableName;
    //表的备注
    private String comments;
    //表的列名(不包含主键)
    private List<ColumnEntity> columns;
    //类名(第一个字母大写)，如：sys_user => SysUser
    private String className;
    private String interfaceName;
    private int serviceId;
    private String datetime;
    public String getDatetime() {
        return datetime;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }


    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public int getServiceId() {
        return serviceId;
    }

    public void setServiceId(int serviceId) {
        this.serviceId = serviceId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public List<ColumnEntity> getColumns() {
        return columns;
    }

    public void setColumns(List<ColumnEntity> columns) {
        this.columns = columns;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
